package cn.edu.cqupt.dao;

import cn.edu.cqupt.po.Picture;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author Andrew
 * @date 2018/1/18
 */
public interface PictureDao {
    int insertPicture(Picture picture);

    Picture selectPicturePath(int id);

    int deletePicture(int id);

    int deletePictures(List<Integer> ids);

    int deletePicturesString(@Param("ids") String ids);

    List<Picture> selectPicturesPath(@Param("ids") String ids);
}
